package cn.yangliu.operation.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 杨柳
 * 创建时间 2017-08-25 23:52
 */
public class DefaultOperation implements Serializable,Operation<Long>{

    private Long id;

    /**
     * 操作人名称
     */
    protected String operator;

    /**
     * 操作人主机
     */
    protected String host;

    /**
     * 操作时间
     */
    protected LocalDateTime operateTime;

    /**
     * 操作模块
     */
    protected String module;

    /**
     * 行为
     */
    protected String action;

    /**
     * 操作状态
     */
    protected boolean operateStatus;

    /**
     * 操作等级
     */
    protected String operateLevel;

    /**
     * 操作
     */
    protected String serverMethod;

    /**
     * 操作时提交的参数
     */
    protected String params;

    /**
     * 操作人ID
     */
    protected String operatorId;

    protected String remark;

    /**
     * 应用名称
     */
    protected String applicationName;

    @Override
    public Long getId() {
        return id;
    }
    @Override
    public void setId(Long id) {
        this.id = id;
    }
    @Override
    public String getRemark() {
        return remark;
    }
    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }
    @Override
    public String getOperatorId() {
        return operatorId;
    }
    @Override
    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }
    @Override
    public String getOperator() {
        return operator;
    }
    @Override
    public void setOperator(String operator) {
        this.operator = operator;
    }
    @Override
    public String getHost() {
        return host;
    }
    @Override
    public void setHost(String host) {
        this.host = host;
    }
    @Override
    public LocalDateTime getOperateTime() {
        return operateTime;
    }
    @Override
    public void setOperateTime(LocalDateTime operateTime) {
        this.operateTime = operateTime;
    }
    @Override
    public String getModule() {
        return module;
    }
    @Override
    public void setModule(String module) {
        this.module = module;
    }
    @Override
    public String getAction() {
        return action;
    }
    @Override
    public void setAction(String action) {
        this.action = action;
    }
    @Override
    public boolean getOperateStatus() {
        return operateStatus;
    }
    @Override
    public void setOperateStatus(boolean operateStatus) {
        this.operateStatus = operateStatus;
    }
    @Override
    public String getOperateLevel() {
        return operateLevel;
    }
    @Override
    public void setOperateLevel(String operateLevel) {
        this.operateLevel = operateLevel;
    }
    @Override
    public String getServerMethod() {
        return serverMethod;
    }
    @Override
    public void setServerMethod(String serverMethod) {
        this.serverMethod = serverMethod;
    }
    @Override
    public String getParams() {
        return params;
    }
    @Override
    public void setParams(String params) {
        this.params = params;
    }

    @Override
    public String getApplicationName() {
        return applicationName;
    }

    @Override
    public void setApplicationName(String applicationName) {
        this.applicationName=applicationName;
    }
}
